package org.stone926.airschool.bean;

import org.springframework.stereotype.Component;

@Component
public class Teacher {
	private Integer tid;
	private String tName;
	private String teacherGender;
	private String teacherPhonenumber;
	private String teacherPassword;

	public Integer getTid() {
		return tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public String gettName() {
		return tName;
	}

	public void settName(String tName) {
		this.tName = tName;
	}

	public String getTeacherGender() {
		return teacherGender;
	}

	public void setTeacherGender(String teacherGender) {
		this.teacherGender = teacherGender;
	}

	public String getTeacherPhonenumber() {
		return teacherPhonenumber;
	}

	public void setTeacherPhonenumber(String teacherPhonenumber) {
		this.teacherPhonenumber = teacherPhonenumber;
	}

	public String getTeacherPassword() {
		return teacherPassword;
	}

	public void setTeacherPassword(String teacherPassword) {
		this.teacherPassword = teacherPassword;
	}

	@Override
	public String toString() {
		return "Teacher [tid=" + tid + ", tName=" + tName + ", teacherGender=" + teacherGender + ", teacherPhonenumber="
				+ teacherPhonenumber + ", teacherPassword=" + teacherPassword + "]";
	}

}
